package com.atguigu.maven.mapper;

import java.util.List;

import com.atguigu.maven.bean.Employee;

public interface EmployeeMapper {
	//获取所有员工信息
	public List<Employee> getAll();
	
	//通过ID获取员工信息
	public Employee getEmpById(Integer id);
	
	//增加员工
	public void addEmp(Employee employee);
	
	//修改员工信息
	public void updateEmp(Employee employee);
	
	//删除员工
	public void deleteEmp(Integer id);

}
